package com.ylkj.bus.onoffline.report.constant;

/**
 * @Author: wengzx
 * @Date: 2025/4/24
 * @Desc:
 */
public class EquipmentAlarmConstant {
    /**
     * 告警字典key-离线
     */
    public static final String LAST_OFFLINE_KEY = "last_offline";
    /**
     * 告警字典key-连续3天掉线
     */
    public static final String CONTINUOUS_3D_OFFLINE_KEY = "continuous_3d_offline";
    /**
     * 告警字典key-重复上下线
     */
    public static final String REPEATED_ONLINE_OFFLINE_KEY = "repeated_online_offline";
    /**
     * 告警字典key-CPU超限
     */
    public static final String CPU_OVERLOAD_KEY = "cpu_overload";
    /**
     * 告警字典key-磁盘超限
     */
    public static final String DISK_OVERLOAD_KEY = "disk_overload";
    /**
     * 告警字典key-内存超限
     */
    public static final String MEMORY_OVERLOAD_KEY = "memory_overload";
    /**
     * 告警字典key-上盖开盖
     */
    public static final String LID_OPENED_WITH_COVER_KEY = "lid_opened_with_cover";
    /**
     * 告警字典key-未盖开盖
     */
    public static final String LID_OPENED_WITHOUT_COVER_KEY = "lid_opened_without_cover";
    /**
     * 告警字典key-温度超限
     */
    public static final String TEMPERATURE_KEY = "temperature";
    /**
     * 告警字典key-掉电
     */
    public static final String POWER_LOSS_KEY = "power_loss";
    /**
     * 告警字典key-APP安装不规范
     */
    public static final String APP_INSTALL_NONSTANDARD_KEY = "app_install_nonstandard";
    /**
     * 告警字典key-APP异常停止
     */
    public static final String APP_CRASH_KEY = "app_crash";
    /**
     * 告警字典key-流量超限
     */
    public static final String TRAFFIC_KEY = "traffic";
    /**
     * 告警字典key-信号弱
     */
    public static final String SIGNAL_WEAK_KEY = "signal_weak";
    /**
     * 告警字典key-网络延迟
     */
    public static final String NETWORK_LATENCY_KEY = "network_latency";
    /**
     * 告警字典key-低速率
     */
    public static final String LOW_SPEED_KEY = "low_speed";
    /**
     * 告警字典key-丢包率
     */
    public static final String PACKET_LOSS_RATE_KEY = "packet_loss_rate";
    /**
     * 告警字典key-数据缺陷
     */
    public static final String DATA_INTEGRITY_ISSUE_KEY = "data_integrity_issue";
    /**
     * 告警字典key-数据异常
     */
    public static final String DATA_ANOMALY_KEY = "data_anomaly";
    /**
     * 告警字典key-时钟偏差
     */
    public static final String CHOCK_SKEWING_KEY = "chock_skewing";

    /**
     * 终端本体告警
     */
    public static final String DEVICE_HARDWARE_ALERT = "1";
    /**
     * 终端软件告警
     */
    public static final String DEVICE_SOFTWARE_ALERT = "2";
    /**
     * 通信链路告警
     */
    public static final String DEVICE_COMMUNICATION_LINK_ALERT = "3";
    /**
     * 数据质量告警
     */
    public static final String DATA_QUALITY_ALERT = "4";
    /**
     * 告警状态,1-未处理
     */
    public static final String ALARM_COVER_UNPROCESSED = "1";
    /**
     * 告警状态,2-已处理(手动消缺)
     */
    public static final String ALARM_COVER_RESOLVED = "2";
    /**
     * 告警状态,3-已处理(系统自动消缺)
     */
    public static final String ALARM_COVER_AUTO = "3";
    /**
     * 告警状态，4-自动恢复
     */
    public static final String ALARM_COVER_AUTO_RECOVER = "4";
    /**
     * 告警等级，3-一般
     */
    public static final String ALARM_LEVEL_NORMAL = "3";
    /**
     * 告警等级，2-严重
     */
    public static final String ALARM_LEVEL_CRITICAL = "2";
    /**
     * 告警等级，1-紧急
     */
    public static final String ALARM_LEVEL_EMERGENCY = "1";
    /**
     * 默认页行树
     */
    public static final Integer DEFAULT_PAGE_SIZE = 100;
    /**
     * APP 停止状态
     */
    public static final String APP_STATUS_STOP = "02";
    /**
     * 所属网络：1001-内网
     */
    public static final String NET_CODE_INNER = "1001";
    /**
     * 所属网络：1002-外网
     */
    public static final String NET_CODE_OUT = "1002";
    /**
     * 现场消缺
     */
    public static final String DEFECT_ELIMINATION = "DEFECT_ELIMINATION";

    /**
     * 最大离线天数
     */
    public static final int MAXIMUM_OFFLINE_DAYS = 3;
}
